<div class="panel">
  <div class="header">
    <span class="col_fade">标签设置</span>
  </div>
  <div class="inner">
    <table class="table table-hover">
      <thead>
        <th>代号</th>
        <th>显示名字</th>
      </thead>
      <tbody>
        {% for i in tags %}
          <tr>
            <td>{{ i.name }}</td>
            <td>{{ i.display_name }}</td>
          </tr>
        {% endfor %}        
      </tbody>
    </table>
    
    <form id="tag_create_form" class="form-horizontal" action="/tag" method="post">
      <div class="control-group">
        <label class="control-label" for="name">代号</label>

        <div class="controls">
          <input class="input-xlarge" type="text" id="name" name="name" size="30">
        </div>
      </div>
      <div class="control-group">
        <label class="control-label" for="display_name">显示名字</label>

        <div class="controls">
          <input class="input-xlarge" type="text" id="display_name" name="display_name" size="30">
        </div>
      </div>
      <div class="form-actions">
        <input type="submit" class="span-primary submit_btn" data-loading-text="添加中.." value="添加标签">
      </div>
    </form>
  </div>
</div>